home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 90 / PIWD90.iso / mac / contents / flash_gaming / tutorial_files / Pages70-80 / finished game / line-up finished.fla / Symbol 80 < prev    next >
Unknown  |  2003-12-19  |  9.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 01 ff ff 01 00 08 00 43 | 50 69 63 50 61 67 65 01 |.......C|PicPage.|
|00000010| 00 ff ff 01 00 09 00 43 | 50 69 63 4c 61 79 65 72 |.......C|PicLayer|
|00000020| 01 00 ff ff 01 00 09 00 | 43 50 69 63 46 72 61 6d |........|CPicFram|
|00000030| 65 01 00 ff ff 01 00 0a | 00 43 50 69 63 53 70 72 |e.......|.CPicSpr|
|00000040| 69 74 65 01 02 00 00 0e | 01 00 00 75 ff ff ff 0a |ite.....|...u....|
|00000050| 6a 1a 00 00 00 00 00 00 | 00 00 00 00 6a 1a 00 00 |j.......|....j...|
|00000060| 0e 01 00 00 75 ff ff ff | 00 00 02 00 01 00 01 00 |....u...|........|
|00000070| 00 00 01 00 00 00 01 00 | 00 00 01 00 00 00 00 00 |........|........|
|00000080| 00 ff ff ff ff 00 51 00 | 00 00 06 01 00 00 00 02 |......Q.|........|
|00000090| 00 00 00 dd 0e 00 00 00 | 00 00 00 00 02 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 80 00 00 00 80 02 | 00 00 01 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 05 00 00 00 00 00 00 00 | 00 00 00 00 00 00 16 01 |........|........|
|000000e0| 00 00 06 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| ff ff ff 3f ff ff 00 01 | 00 00 00 01 00 00 00 bd |...?....|........|
|00000100| 15 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 01 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|00000130| 00 00 80 0a 07 76 65 72 | 73 69 6f 6e 00 01 01 ff |.....ver|sion....|
|00000140| ff ff ff ff 4f 4f ff 00 | 00 00 00 01 00 00 00 01 |....OO..|........|
|00000150| 00 00 01 00 03 80 01 00 | 05 80 01 00 00 00 00 00 |........|........|
|00000160| 00 80 00 00 00 80 02 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 00 05 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 16 01 00 |........|........|
|00000190| 00 06 00 00 00 00 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|000001a0| ff ff 3f ff ff 09 53 79 | 6d 62 6f 6c 5f 33 36 01 |..?...Sy|mbol_36.|
|000001b0| 00 00 00 01 00 00 00 58 | 3f 00 00 00 00 00 00 ff |.......X|?.......|
|000001c0| e3 21 23 69 6e 69 74 63 | 6c 69 70 20 30 0a 2f 2a |.!#initc|lip 0./*|
|000001d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0a 20 20 |========|=====. |
|000001e0| 46 55 49 43 6f 6d 70 6f | 6e 65 6e 74 43 6c 61 73 |FUICompo|nentClas|
|000001f0| 73 0a 20 20 0a 20 20 20 | 54 68 65 20 62 61 73 65 |s. . |The base|
|00000200| 20 63 6c 61 73 73 20 66 | 6f 72 20 61 6c 6c 20 46 | class f|or all F|
|00000210| 55 49 20 63 6f 6e 74 72 | 6f 6c 73 20 69 6e 20 66 |UI contr|ols in f|
|00000220| 6c 61 73 68 36 2e 0a 20 | 20 20 0a 3d 3d 3d 3d 3d |lash6.. | .=====|
|00000230| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 2a 2f 0a 0a 0a 66 75 |========|=*/...fu|
|00000240| 6e 63 74 69 6f 6e 20 46 | 55 49 43 6f 6d 70 6f 6e |nction F|UICompon|
|00000250| 65 6e 74 43 6c 61 73 73 | 28 29 0a 7b 0a 09 74 68 |entClass|().{..th|
|00000260| 69 73 2e 69 6e 69 74 28 | 29 3b 0a 7d 0a 46 55 49 |is.init(|);.}.FUI|
|00000270| 43 6f 6d 70 6f 6e 65 6e | 74 43 6c 61 73 73 2e 70 |Componen|tClass.p|
|00000280| 72 6f 74 6f 74 79 70 65 | 20 3d 20 6e 65 77 20 4d |rototype| = new M|
|00000290| 6f 76 69 65 43 6c 69 70 | 28 29 3b 0a 0a 0a 46 55 |ovieClip|();...FU|
|000002a0| 49 43 6f 6d 70 6f 6e 65 | 6e 74 43 6c 61 73 73 2e |ICompone|ntClass.|
|000002b0| 70 72 6f 74 6f 74 79 70 | 65 2e 69 6e 69 74 20 3d |prototyp|e.init =|
|000002c0| 20 66 75 6e 63 74 69 6f | 6e 28 29 0a 7b 0a 09 74 | functio|n().{..t|
|000002d0| 68 69 73 2e 65 6e 61 62 | 6c 65 20 3d 20 74 72 75 |his.enab|le = tru|
|000002e0| 65 3b 0a 09 74 68 69 73 | 2e 66 6f 63 75 73 65 64 |e;..this|.focused|
|000002f0| 20 3d 20 66 61 6c 73 65 | 3b 0a 09 74 68 69 73 2e | = false|;..this.|
|00000300| 75 73 65 48 61 6e 64 43 | 75 72 73 6f 72 20 3d 20 |useHandC|ursor = |
|00000310| 66 61 6c 73 65 3b 0a 09 | 2f 2f 61 63 63 65 73 73 |false;..|//access|
|00000320| 69 62 69 6c 69 74 79 20 | 3a 3a 20 68 69 64 65 20 |ibility |:: hide |
|00000330| 6e 6f 6e 20 61 63 63 65 | 73 73 69 62 6c 65 20 63 |non acce|ssible c|
|00000340| 6f 6d 70 6f 6e 65 6e 74 | 73 20 66 72 6f 6d 20 73 |omponent|s from s|
|00000350| 63 72 65 65 6e 20 72 65 | 61 64 65 72 0a 09 74 68 |creen re|ader..th|
|00000360| 69 73 2e 5f 61 63 63 49 | 6d 70 6c 20 3d 20 6e 65 |is._accI|mpl = ne|
|00000370| 77 20 4f 62 6a 65 63 74 | 28 29 3b 0a 09 74 68 69 |w Object|();..thi|
|00000380| 73 2e 5f 61 63 63 49 6d | 70 6c 2e 73 74 75 62 20 |s._accIm|pl.stub |
|00000390| 3d 20 74 72 75 65 3b 0a | 09 74 68 69 73 2e 73 74 |= true;.|.this.st|
|000003a0| 79 6c 65 54 61 62 6c 65 | 20 3d 20 6e 65 77 20 41 |yleTable| = new A|
|000003b0| 72 72 61 79 28 29 3b 0a | 09 69 66 20 28 5f 67 6c |rray();.|.if (_gl|
|000003c0| 6f 62 61 6c 2e 67 6c 6f | 62 61 6c 53 74 79 6c 65 |obal.glo|balStyle|
|000003d0| 46 6f 72 6d 61 74 3d 3d | 75 6e 64 65 66 69 6e 65 |Format==|undefine|
|000003e0| 64 29 20 7b 0a 09 09 5f | 67 6c 6f 62 61 6c 2e 67 |d) {..._|global.g|
|000003f0| 6c 6f 62 61 6c 53 74 79 | 6c 65 46 6f 72 6d 61 74 |lobalSty|leFormat|
|00000400| 20 3d 20 6e 65 77 20 46 | 53 74 79 6c 65 46 6f 72 | = new F|StyleFor|
|00000410| 6d 61 74 28 29 3b 0a 09 | 09 67 6c 6f 62 61 6c 53 |mat();..|.globalS|
|00000420| 74 79 6c 65 46 6f 72 6d | 61 74 2e 69 73 47 6c 6f |tyleForm|at.isGlo|
|00000430| 62 61 6c 20 3d 20 74 72 | 75 65 3b 0a 09 09 5f 67 |bal = tr|ue;..._g|
|00000440| 6c 6f 62 61 6c 2e 5f 66 | 6f 63 75 73 43 6f 6e 74 |lobal._f|ocusCont|
|00000450| 72 6f 6c 20 3d 20 6e 65 | 77 20 4f 62 6a 65 63 74 |rol = ne|w Object|
|00000460| 28 29 3b 0a 09 09 5f 67 | 6c 6f 62 61 6c 2e 5f 66 |();..._g|lobal._f|
|00000470| 6f 63 75 73 43 6f 6e 74 | 72 6f 6c 2e 6f 6e 53 65 |ocusCont|rol.onSe|
|00000480| 74 46 6f 63 75 73 20 3d | 20 66 75 6e 63 74 69 6f |tFocus =| functio|
|00000490| 6e 28 6f 6c 64 46 6f 63 | 75 73 2c 20 6e 65 77 46 |n(oldFoc|us, newF|
|000004a0| 6f 63 75 73 29 0a 09 09 | 7b 0a 09 09 09 6f 6c 64 |ocus)...|{....old|
|000004b0| 46 6f 63 75 73 2e 6d 79 | 4f 6e 4b 69 6c 6c 46 6f |Focus.my|OnKillFo|
|000004c0| 63 75 73 28 29 3b 0a 09 | 09 09 6e 65 77 46 6f 63 |cus();..|..newFoc|
|000004d0| 75 73 2e 6d 79 4f 6e 53 | 65 74 46 6f 63 75 73 28 |us.myOnS|etFocus(|
|000004e0| 29 3b 0a 09 09 7d 0a 09 | 09 53 65 6c 65 63 74 69 |);...}..|.Selecti|
|000004f0| 6f 6e 2e 61 64 64 4c 69 | 73 74 65 6e 65 72 28 5f |on.addLi|stener(_|
|00000500| 67 6c 6f 62 61 6c 2e 5f | 66 6f 63 75 73 43 6f 6e |global._|focusCon|
|00000510| 74 72 6f 6c 29 3b 0a 09 | 7d 0a 09 69 66 20 28 74 |trol);..|}..if (t|
|00000520| 68 69 73 2e 5f 6e 61 6d | 65 21 3d 75 6e 64 65 66 |his._nam|e!=undef|
|00000530| 69 6e 65 64 29 20 7b 0a | 09 09 74 68 69 73 2e 5f |ined) {.|..this._|
|00000540| 66 6f 63 75 73 72 65 63 | 74 20 3d 20 66 61 6c 73 |focusrec|t = fals|
|00000550| 65 3b 0a 09 09 74 68 69 | 73 2e 74 61 62 45 6e 61 |e;...thi|s.tabEna|
|00000560| 62 6c 65 64 20 3d 20 74 | 72 75 65 3b 0a 09 09 74 |bled = t|rue;...t|
|00000570| 68 69 73 2e 66 6f 63 75 | 73 45 6e 61 62 6c 65 64 |his.focu|sEnabled|
|00000580| 20 3d 20 74 72 75 65 3b | 0a 09 09 74 68 69 73 2e | = true;|...this.|
|00000590| 74 61 62 43 68 69 6c 64 | 72 65 6e 20 3d 20 66 61 |tabChild|ren = fa|
|000005a0| 6c 73 65 3b 0a 09 09 74 | 68 69 73 2e 74 61 62 46 |lse;...t|his.tabF|
|000005b0| 6f 63 75 73 65 64 20 3d | 20 74 72 75 65 3b 0a 09 |ocused =| true;..|
|000005c0| 09 69 66 20 28 74 68 69 | 73 2e 68 6f 73 74 53 74 |.if (thi|s.hostSt|
|000005d0| 79 6c 65 3d 3d 75 6e 64 | 65 66 69 6e 65 64 29 20 |yle==und|efined) |
|000005e0| 7b 0a 09 09 09 67 6c 6f | 62 61 6c 53 74 79 6c 65 |{....glo|balStyle|
|000005f0| 46 6f 72 6d 61 74 2e 61 | 64 64 4c 69 73 74 65 6e |Format.a|ddListen|
|00000600| 65 72 28 74 68 69 73 29 | 3b 0a 09 09 7d 20 65 6c |er(this)|;...} el|
|00000610| 73 65 20 7b 20 0a 09 09 | 09 74 68 69 73 2e 73 74 |se { ...|.this.st|
|00000620| 79 6c 65 54 61 62 6c 65 | 20 3d 20 74 68 69 73 2e |yleTable| = this.|
|00000630| 68 6f 73 74 53 74 79 6c | 65 3b 0a 09 09 7d 0a 09 |hostStyl|e;...}..|
|00000640| 09 0a 09 09 74 68 69 73 | 2e 64 65 61 64 50 72 65 |....this|.deadPre|
|00000650| 76 69 65 77 2e 5f 76 69 | 73 69 62 6c 65 20 3d 20 |view._vi|sible = |
|00000660| 66 61 6c 73 65 3b 0a 09 | 09 74 68 69 73 2e 64 65 |false;..|.this.de|
|00000670| 61 64 50 72 65 76 69 65 | 77 2e 5f 77 69 64 74 68 |adPrevie|w._width|
|00000680| 20 3d 20 74 68 69 73 2e | 64 65 61 64 50 72 65 76 | = this.|deadPrev|
|00000690| 69 65 77 2e 5f 68 65 69 | 67 68 74 20 3d 20 31 3b |iew._hei|ght = 1;|
|000006a0| 0a 09 09 74 68 69 73 2e | 6d 65 74 68 6f 64 54 61 |...this.|methodTa|
|000006b0| 62 6c 65 20 3d 20 6e 65 | 77 20 4f 62 6a 65 63 74 |ble = ne|w Object|
|000006c0| 28 29 3b 0a 09 09 0a 09 | 09 74 68 69 73 2e 6b 65 |();.....|.this.ke|
|000006d0| 79 4c 69 73 74 65 6e 65 | 72 20 3d 20 6e 65 77 20 |yListene|r = new |
|000006e0| 4f 62 6a 65 63 74 28 29 | 3b 0a 09 09 74 68 69 73 |Object()|;...this|
|000006f0| 2e 6b 65 79 4c 69 73 74 | 65 6e 65 72 2e 63 6f 6e |.keyList|ener.con|
|00000700| 74 72 6f 6c 6c 65 72 20 | 3d 20 74 68 69 73 3b 0a |troller |= this;.|
|00000710| 09 09 74 68 69 73 2e 6b | 65 79 4c 69 73 74 65 6e |..this.k|eyListen|
|00000720| 65 72 2e 6f 6e 4b 65 79 | 44 6f 77 6e 20 3d 20 66 |er.onKey|Down = f|
|00000730| 75 6e 63 74 69 6f 6e 28 | 29 0a 09 09 7b 0a 09 09 |unction(|)...{...|
|00000740| 09 74 68 69 73 2e 63 6f | 6e 74 72 6f 6c 6c 65 72 |.this.co|ntroller|
|00000750| 2e 6d 79 4f 6e 4b 65 79 | 44 6f 77 6e 28 29 3b 0a |.myOnKey|Down();.|
|00000760| 09 09 7d 0a 09 09 74 68 | 69 73 2e 6b 65 79 4c 69 |..}...th|is.keyLi|
|00000770| 73 74 65 6e 65 72 2e 6f | 6e 4b 65 79 55 70 20 3d |stener.o|nKeyUp =|
|00000780| 20 66 75 6e 63 74 69 6f | 6e 28 29 0a 09 09 7b 0a | functio|n()...{.|
|00000790| 09 09 09 74 68 69 73 2e | 63 6f 6e 74 72 6f 6c 6c |...this.|controll|
|000007a0| 65 72 2e 6d 79 4f 6e 4b | 65 79 55 70 28 29 3b 0a |er.myOnK|eyUp();.|
|000007b0| 09 09 7d 0a 09 09 66 6f | 72 20 28 76 61 72 20 69 |..}...fo|r (var i|
|000007c0| 20 69 6e 20 74 68 69 73 | 2e 73 74 79 6c 65 46 6f | in this|.styleFo|
|000007d0| 72 6d 61 74 5f 70 72 6d | 29 20 7b 0a 09 09 09 74 |rmat_prm|) {....t|
|000007e0| 68 69 73 2e 73 65 74 53 | 74 79 6c 65 50 72 6f 70 |his.setS|tyleProp|
|000007f0| 65 72 74 79 28 69 2c 20 | 74 68 69 73 2e 73 74 79 |erty(i, |this.sty|
|00000800| 6c 65 46 6f 72 6d 61 74 | 5f 70 72 6d 5b 69 5d 29 |leFormat|_prm[i])|
|00000810| 3b 0a 09 09 7d 0a 09 7d | 0a 7d 0a 0a 0a 0a 2f 2f |;...}..}|.}....//|
|00000820| 20 3a 3a 3a 20 50 55 42 | 4c 49 43 20 4d 45 54 48 | ::: PUB|LIC METH|
|00000830| 4f 44 53 0a 0a 0a 46 55 | 49 43 6f 6d 70 6f 6e 65 |ODS...FU|ICompone|
|00000840| 6e 74 43 6c 61 73 73 2e | 70 72 6f 74 6f 74 79 70 |ntClass.|prototyp|
|00000850| 65 2e 73 65 74 45 6e 61 | 62 6c 65 64 20 3d 20 66 |e.setEna|bled = f|
|00000860| 75 6e 63 74 69 6f 6e 28 | 65 6e 61 62 6c 65 64 46 |unction(|enabledF|
|00000870| 6c 61 67 29 0a 7b 0a 09 | 74 68 69 73 2e 65 6e 61 |lag).{..|this.ena|
|00000880| 62 6c 65 20 3d 20 28 61 | 72 67 75 6d 65 6e 74 73 |ble = (a|rguments|
|00000890| 2e 6c 65 6e 67 74 68 3e | 30 29 20 3f 20 65 6e 61 |.length>|0) ? ena|
|000008a0| 62 6c 65 64 46 6c 61 67 | 20 3a 20 74 72 75 65 3b |bledFlag| : true;|
|000008b0| 0a 09 74 68 69 73 2e 74 | 61 62 45 6e 61 62 6c 65 |..this.t|abEnable|
|000008c0| 64 20 3d 20 74 68 69 73 | 2e 66 6f 63 75 73 45 6e |d = this|.focusEn|
|000008d0| 61 62 6c 65 64 20 3d 20 | 65 6e 61 62 6c 65 64 46 |abled = |enabledF|
|000008e0| 6c 61 67 3b 0a 09 69 66 | 20 28 21 74 68 69 73 2e |lag;..if| (!this.|
|000008f0| 65 6e 61 62 6c 65 20 26 | 26 20 74 68 69 73 2e 66 |enable &|& this.f|
|00000900| 6f 63 75 73 65 64 29 20 | 7b 0a 09 09 53 65 6c 65 |ocused) |{...Sele|
|00000910| 63 74 69 6f 6e 2e 73 65 | 74 46 6f 63 75 73 28 75 |ction.se|tFocus(u|
|00000920| 6e 64 65 66 69 6e 65 64 | 29 3b 0a 09 7d 0a 7d 0a |ndefined|);..}.}.|
|00000930| 0a 46 55 49 43 6f 6d 70 | 6f 6e 65 6e 74 43 6c 61 |.FUIComp|onentCla|
|00000940| 73 73 2e 70 72 6f 74 6f | 74 79 70 65 2e 67 65 74 |ss.proto|type.get|
|00000950| 45 6e 61 62 6c 65 64 20 | 3d 20 66 75 6e 63 74 69 |Enabled |= functi|
|00000960| 6f 6e 28 29 0a 7b 0a 09 | 72 65 74 75 72 6e 20 74 |on().{..|return t|
|00000970| 68 69 73 2e 65 6e 61 62 | 6c 65 3b 0a 7d 0a 0a 46 |his.enab|le;.}..F|
|00000980| 55 49 43 6f 6d 70 6f 6e | 65 6e 74 43 6c 61 73 73 |UICompon|entClass|
|00000990| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 73 65 74 53 69 |.prototy|pe.setSi|
|000009a0| 7a 65 20 3d 20 66 75 6e | 63 74 69 6f 6e 28 77 2c |ze = fun|ction(w,|
|000009b0| 20 68 29 0a 7b 0a 09 74 | 68 69 73 2e 77 69 64 74 | h).{..t|his.widt|
|000009c0| 68 20 3d 20 77 3b 0a 09 | 74 68 69 73 2e 68 65 69 |h = w;..|this.hei|
|000009d0| 67 68 74 20 3d 20 68 3b | 0a 09 74 68 69 73 2e 66 |ght = h;|..this.f|
|000009e0| 6f 63 75 73 52 65 63 74 | 2e 72 65 6d 6f 76 65 4d |ocusRect|.removeM|
|000009f0| 6f 76 69 65 43 6c 69 70 | 28 29 3b 0a 7d 0a 0a 46 |ovieClip|();.}..F|
|00000a00| 55 49 43 6f 6d 70 6f 6e | 65 6e 74 43 6c 61 73 73 |UICompon|entClass|
|00000a10| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 73 65 74 43 68 |.prototy|pe.setCh|
|00000a20| 61 6e 67 65 48 61 6e 64 | 6c 65 72 20 3d 20 66 75 |angeHand|ler = fu|
|00000a30| 6e 63 74 69 6f 6e 28 63 | 68 6e 67 2c 6f 62 6a 29 |nction(c|hng,obj)|
|00000a40| 0a 7b 0a 09 74 68 69 73 | 2e 68 61 6e 64 6c 65 72 |.{..this|.handler|
|00000a50| 4f 62 6a 20 3d 20 28 6f | 62 6a 3d 3d 75 6e 64 65 |Obj = (o|bj==unde|
|00000a60| 66 69 6e 65 64 29 20 3f | 20 74 68 69 73 2e 5f 70 |fined) ?| this._p|
|00000a70| 61 72 65 6e 74 20 3a 20 | 6f 62 6a 3b 0a 09 74 68 |arent : |obj;..th|
|00000a80| 69 73 2e 63 68 61 6e 67 | 65 48 61 6e 64 6c 65 72 |is.chang|eHandler|
|00000a90| 20 3d 20 63 68 6e 67 3b | 0a 7d 0a 0a 0a 0a 2f 2f | = chng;|.}....//|
|00000aa0| 20 3a 3a 3a 20 50 52 49 | 56 41 54 45 20 4d 45 54 | ::: PRI|VATE MET|
|00000ab0| 48 4f 44 53 0a 0a 46 55 | 49 43 6f 6d 70 6f 6e 65 |HODS..FU|ICompone|
|00000ac0| 6e 74 43 6c 61 73 73 2e | 70 72 6f 74 6f 74 79 70 |ntClass.|prototyp|
|00000ad0| 65 2e 69 6e 76 61 6c 69 | 64 61 74 65 20 3d 20 66 |e.invali|date = f|
|00000ae0| 75 6e 63 74 69 6f 6e 28 | 6d 65 74 68 6f 64 4e 61 |unction(|methodNa|
|00000af0| 6d 65 29 0a 7b 0a 09 74 | 68 69 73 2e 6d 65 74 68 |me).{..t|his.meth|
|00000b00| 6f 64 54 61 62 6c 65 5b | 6d 65 74 68 6f 64 4e 61 |odTable[|methodNa|
|00000b10| 6d 65 5d 20 3d 20 74 72 | 75 65 3b 0a 09 74 68 69 |me] = tr|ue;..thi|
|00000b20| 73 2e 6f 6e 45 6e 74 65 | 72 46 72 61 6d 65 20 3d |s.onEnte|rFrame =|
|00000b30| 20 74 68 69 73 2e 63 6c | 65 61 6e 55 49 3b 0a 7d | this.cl|eanUI;.}|
|00000b40| 0a 0a 46 55 49 43 6f 6d | 70 6f 6e 65 6e 74 43 6c |..FUICom|ponentCl|
|00000b50| 61 73 73 2e 70 72 6f 74 | 6f 74 79 70 65 2e 63 6c |ass.prot|otype.cl|
|00000b60| 65 61 6e 55 49 20 3d 20 | 66 75 6e 63 74 69 6f 6e |eanUI = |function|
|00000b70| 28 29 0a 7b 0a 09 0a 09 | 2f 2f 20 72 75 6c 65 73 |().{....|// rules|
|00000b80| 20 6f 66 20 69 6e 76 61 | 6c 69 64 61 74 69 6f 6e | of inva|lidation|
|00000b90| 20 3a 20 73 65 74 53 69 | 7a 65 20 62 65 61 74 73 | : setSi|ze beats|
|00000ba0| 20 65 76 65 72 79 6f 6e | 65 20 65 6c 73 65 0a 09 | everyon|e else..|
|00000bb0| 69 66 20 28 74 68 69 73 | 2e 6d 65 74 68 6f 64 54 |if (this|.methodT|
|00000bc0| 61 62 6c 65 2e 73 65 74 | 53 69 7a 65 29 20 7b 0a |able.set|Size) {.|
|00000bd0| 09 09 74 68 69 73 2e 73 | 65 74 53 69 7a 65 28 74 |..this.s|etSize(t|
|00000be0| 68 69 73 2e 77 69 64 74 | 68 2c 20 74 68 69 73 2e |his.widt|h, this.|
|00000bf0| 68 65 69 67 68 74 29 3b | 0a 09 7d 20 65 6c 73 65 |height);|..} else|
|00000c00| 20 7b 0a 09 09 74 68 69 | 73 2e 63 6c 65 61 6e 55 | {...thi|s.cleanU|
|00000c10| 49 4e 6f 74 53 69 7a 65 | 28 29 3b 0a 09 7d 0a 09 |INotSize|();..}..|
|00000c20| 74 68 69 73 2e 6d 65 74 | 68 6f 64 54 61 62 6c 65 |this.met|hodTable|
|00000c30| 20 3d 20 6e 65 77 20 4f | 62 6a 65 63 74 28 29 3b | = new O|bject();|
|00000c40| 0a 09 64 65 6c 65 74 65 | 20 74 68 69 73 2e 6f 6e |..delete| this.on|
|00000c50| 45 6e 74 65 72 46 72 61 | 6d 65 3b 0a 7d 0a 0a 2f |EnterFra|me;.}../|
|00000c60| 2f 20 45 58 54 45 4e 44 | 20 74 68 69 73 20 6d 65 |/ EXTEND| this me|
|00000c70| 74 68 6f 64 20 74 6f 20 | 61 64 64 20 6e 65 77 20 |thod to |add new |
|00000c80| 69 6e 76 61 6c 69 64 61 | 74 69 6f 6e 20 72 75 6c |invalida|tion rul|
|00000c90| 65 73 2e 0a 46 55 49 43 | 6f 6d 70 6f 6e 65 6e 74 |es..FUIC|omponent|
|00000ca0| 43 6c 61 73 73 2e 70 72 | 6f 74 6f 74 79 70 65 2e |Class.pr|ototype.|
|00000cb0| 63 6c 65 61 6e 55 49 4e | 6f 74 53 69 7a 65 20 3d |cleanUIN|otSize =|
|00000cc0| 20 66 75 6e 63 74 69 6f | 6e 28 29 0a 7b 0a 09 66 | functio|n().{..f|
|00000cd0| 6f 72 20 28 76 61 72 20 | 66 75 6e 63 74 20 69 6e |or (var |funct in|
|00000ce0| 20 74 68 69 73 2e 6d 65 | 74 68 6f 64 54 61 62 6c | this.me|thodTabl|
|00000cf0| 65 29 20 7b 0a 09 09 74 | 68 69 73 5b 66 75 6e 63 |e) {...t|his[func|
|00000d00| 74 5d 28 29 3b 0a 09 7d | 0a 7d 0a 0a 46 55 49 43 |t]();..}|.}..FUIC|
|00000d10| 6f 6d 70 6f 6e 65 6e 74 | 43 6c 61 73 73 2e 70 72 |omponent|Class.pr|
|00000d20| 6f 74 6f 74 79 70 65 2e | 64 72 61 77 52 65 63 74 |ototype.|drawRect|
|00000d30| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 78 2c 20 79 | = funct|ion(x, y|
|00000d40| 2c 20 77 2c 20 68 29 0a | 7b 0a 09 76 61 72 20 69 |, w, h).|{..var i|
|00000d50| 6e 6e 65 72 20 3d 20 74 | 68 69 73 2e 73 74 79 6c |nner = t|his.styl|
|00000d60| 65 54 61 62 6c 65 2e 66 | 6f 63 75 73 52 65 63 74 |eTable.f|ocusRect|
|00000d70| 49 6e 6e 65 72 2e 76 61 | 6c 75 65 3b 0a 09 76 61 |Inner.va|lue;..va|
|00000d80| 72 20 6f 75 74 65 72 20 | 3d 20 74 68 69 73 2e 73 |r outer |= this.s|
|00000d90| 74 79 6c 65 54 61 62 6c | 65 2e 66 6f 63 75 73 52 |tyleTabl|e.focusR|
|00000da0| 65 63 74 4f 75 74 65 72 | 2e 76 61 6c 75 65 3b 0a |ectOuter|.value;.|
|00000db0| 09 69 66 20 28 69 6e 6e | 65 72 3d 3d 75 6e 64 65 |.if (inn|er==unde|
|00000dc0| 66 69 6e 65 64 29 20 7b | 0a 09 09 69 6e 6e 65 72 |fined) {|...inner|
|00000dd0| 20 3d 20 30 78 66 66 66 | 66 66 66 3b 0a 09 7d 0a | = 0xfff|fff;..}.|
|00000de0| 09 69 66 20 28 6f 75 74 | 65 72 3d 3d 75 6e 64 65 |.if (out|er==unde|
|00000df0| 66 69 6e 65 64 29 20 7b | 0a 09 09 6f 75 74 65 72 |fined) {|...outer|
|00000e00| 20 3d 20 30 78 30 30 30 | 30 30 30 3b 0a 09 7d 0a | = 0x000|000;..}.|
|00000e10| 09 0a 09 74 68 69 73 2e | 63 72 65 61 74 65 45 6d |...this.|createEm|
|00000e20| 70 74 79 4d 6f 76 69 65 | 43 6c 69 70 28 20 22 66 |ptyMovie|Clip( "f|
|00000e30| 6f 63 75 73 52 65 63 74 | 22 2c 20 31 30 30 30 20 |ocusRect|", 1000 |
|00000e40| 29 3b 0a 2f 2f 09 74 68 | 69 73 2e 66 6f 63 75 73 |);.//.th|is.focus|
|00000e50| 52 65 63 74 2e 5f 61 6c | 70 68 61 20 3d 20 35 30 |Rect._al|pha = 50|
|00000e60| 3b 20 2f 2f 20 75 6e 63 | 6f 6d 6d 65 6e 74 20 6f |; // unc|omment o|
|00000e70| 75 74 20 74 68 69 73 20 | 6c 69 6e 65 20 69 66 20 |ut this |line if |
|00000e80| 79 6f 75 20 77 61 6e 74 | 20 66 6f 63 75 73 20 72 |you want| focus r|
|00000e90| 65 63 74 20 77 69 74 68 | 20 61 6c 70 68 61 0a 09 |ect with| alpha..|
|00000ea0| 74 68 69 73 2e 66 6f 63 | 75 73 52 65 63 74 2e 63 |this.foc|usRect.c|
|00000eb0| 6f 6e 74 72 6f 6c 6c 65 | 72 20 3d 20 74 68 69 73 |ontrolle|r = this|
|00000ec0| 3b 0a 09 74 68 69 73 2e | 66 6f 63 75 73 52 65 63 |;..this.|focusRec|
|00000ed0| 74 2e 6c 69 6e 65 53 74 | 79 6c 65 28 31 2c 20 6f |t.lineSt|yle(1, o|
|00000ee0| 75 74 65 72 29 3b 0a 09 | 74 68 69 73 2e 66 6f 63 |uter);..|this.foc|
|00000ef0| 75 73 52 65 63 74 2e 6d | 6f 76 65 54 6f 28 78 2c |usRect.m|oveTo(x,|
|00000f00| 20 79 29 3b 0a 09 74 68 | 69 73 2e 66 6f 63 75 73 | y);..th|is.focus|
|00000f10| 52 65 63 74 2e 6c 69 6e | 65 54 6f 28 78 2b 77 2c |Rect.lin|eTo(x+w,|
|00000f20| 20 79 29 3b 0a 09 74 68 | 69 73 2e 66 6f 63 75 73 | y);..th|is.focus|
|00000f30| 52 65 63 74 2e 6c 69 6e | 65 54 6f 28 78 2b 77 2c |Rect.lin|eTo(x+w,|
|00000f40| 20 79 2b 68 29 3b 0a 09 | 74 68 69 73 2e 66 6f 63 | y+h);..|this.foc|
|00000f50| 75 73 52 65 63 74 2e 6c | 69 6e 65 54 6f 28 78 2c |usRect.l|ineTo(x,|
|00000f60| 20 79 2b 68 29 3b 0a 09 | 74 68 69 73 2e 66 6f 63 | y+h);..|this.foc|
|00000f70| 75 73 52 65 63 74 2e 6c | 69 6e 65 54 6f 28 78 2c |usRect.l|ineTo(x,|
|00000f80| 20 79 29 3b 0a 09 74 68 | 69 73 2e 66 6f 63 75 73 | y);..th|is.focus|
|00000f90| 52 65 63 74 2e 6c 69 6e | 65 53 74 79 6c 65 28 31 |Rect.lin|eStyle(1|
|00000fa0| 2c 20 69 6e 6e 65 72 29 | 3b 0a 09 74 68 69 73 2e |, inner)|;..this.|
|00000fb0| 66 6f 63 75 73 52 65 63 | 74 2e 6d 6f 76 65 54 6f |focusRec|t.moveTo|
|00000fc0| 28 78 2b 31 2c 20 79 2b | 31 29 3b 0a 09 74 68 69 |(x+1, y+|1);..thi|
|00000fd0| 73 2e 66 6f 63 75 73 52 | 65 63 74 2e 6c 69 6e 65 |s.focusR|ect.line|
|00000fe0| 54 6f 28 78 2b 77 2d 31 | 2c 20 79 2b 31 29 3b 0a |To(x+w-1|, y+1);.|
|00000ff0| 09 74 68 69 73 2e 66 6f | 63 75 73 52 65 63 74 2e |.this.fo|cusRect.|
|00001000| 6c 69 6e 65 54 6f 28 78 | 2b 77 2d 31 2c 20 79 2b |lineTo(x|+w-1, y+|
|00001010| 68 2d 31 29 3b 0a 09 74 | 68 69 73 2e 66 6f 63 75 |h-1);..t|his.focu|
|00001020| 73 52 65 63 74 2e 6c 69 | 6e 65 54 6f 28 78 2b 31 |sRect.li|neTo(x+1|
|00001030| 2c 20 79 2b 68 2d 31 29 | 3b 0a 09 74 68 69 73 2e |, y+h-1)|;..this.|
|00001040| 66 6f 63 75 73 52 65 63 | 74 2e 6c 69 6e 65 54 6f |focusRec|t.lineTo|
|00001050| 28 78 2b 31 2c 20 79 2b | 31 29 3b 0a 7d 0a 0a 46 |(x+1, y+|1);.}..F|
|00001060| 55 49 43 6f 6d 70 6f 6e | 65 6e 74 43 6c 61 73 73 |UICompon|entClass|
|00001070| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 70 72 65 73 73 |.prototy|pe.press|
|00001080| 46 6f 63 75 73 20 3d 20 | 66 75 6e 63 74 69 6f 6e |Focus = |function|
|00001090| 28 29 0a 7b 0a 09 74 68 | 69 73 2e 74 61 62 46 6f |().{..th|is.tabFo|
|000010a0| 63 75 73 65 64 20 3d 20 | 66 61 6c 73 65 3b 0a 09 |cused = |false;..|
|000010b0| 74 68 69 73 2e 66 6f 63 | 75 73 52 65 63 74 2e 72 |this.foc|usRect.r|
|000010c0| 65 6d 6f 76 65 4d 6f 76 | 69 65 43 6c 69 70 28 29 |emoveMov|ieClip()|
|000010d0| 3b 0a 09 53 65 6c 65 63 | 74 69 6f 6e 2e 73 65 74 |;..Selec|tion.set|
|000010e0| 46 6f 63 75 73 28 74 68 | 69 73 29 3b 0a 7d 0a 0a |Focus(th|is);.}..|
|000010f0| 2f 2f 20 4f 56 45 52 57 | 52 49 54 45 20 54 48 49 |// OVERW|RITE THI|
|00001100| 53 20 4d 45 54 48 4f 44 | 20 46 4f 52 20 59 4f 55 |S METHOD| FOR YOU|
|00001110| 52 20 4f 57 4e 20 52 45 | 43 54 41 4e 47 4c 45 53 |R OWN RE|CTANGLES|
|00001120| 0a 46 55 49 43 6f 6d 70 | 6f 6e 65 6e 74 43 6c 61 |.FUIComp|onentCla|
|00001130| 73 73 2e 70 72 6f 74 6f | 74 79 70 65 2e 64 72 61 |ss.proto|type.dra|
|00001140| 77 46 6f 63 75 73 52 65 | 63 74 20 3d 20 66 75 6e |wFocusRe|ct = fun|
|00001150| 63 74 69 6f 6e 28 29 0a | 7b 0a 09 74 68 69 73 2e |ction().|{..this.|
|00001160| 64 72 61 77 52 65 63 74 | 28 2d 32 2c 20 2d 32 2c |drawRect|(-2, -2,|
|00001170| 20 74 68 69 73 2e 77 69 | 64 74 68 2b 34 2c 20 74 | this.wi|dth+4, t|
|00001180| 68 69 73 2e 68 65 69 67 | 68 74 2b 34 29 3b 09 0a |his.heig|ht+4);..|
|00001190| 7d 0a 0a 46 55 49 43 6f | 6d 70 6f 6e 65 6e 74 43 |}..FUICo|mponentC|
|000011a0| 6c 61 73 73 2e 70 72 6f | 74 6f 74 79 70 65 2e 6d |lass.pro|totype.m|
|000011b0| 79 4f 6e 53 65 74 46 6f | 63 75 73 20 3d 20 66 75 |yOnSetFo|cus = fu|
|000011c0| 6e 63 74 69 6f 6e 28 29 | 0a 7b 0a 09 74 68 69 73 |nction()|.{..this|
|000011d0| 2e 66 6f 63 75 73 65 64 | 20 3d 74 72 75 65 3b 0a |.focused| =true;.|
|000011e0| 09 4b 65 79 2e 61 64 64 | 4c 69 73 74 65 6e 65 72 |.Key.add|Listener|
|000011f0| 28 74 68 69 73 2e 6b 65 | 79 4c 69 73 74 65 6e 65 |(this.ke|yListene|
|00001200| 72 29 3b 0a 0a 09 69 66 | 20 28 74 68 69 73 2e 74 |r);...if| (this.t|
|00001210| 61 62 46 6f 63 75 73 65 | 64 29 20 7b 0a 09 09 74 |abFocuse|d) {...t|
|00001220| 68 69 73 2e 64 72 61 77 | 46 6f 63 75 73 52 65 63 |his.draw|FocusRec|
|00001230| 74 28 29 3b 0a 09 7d 0a | 7d 0a 0a 46 55 49 43 6f |t();..}.|}..FUICo|
|00001240| 6d 70 6f 6e 65 6e 74 43 | 6c 61 73 73 2e 70 72 6f |mponentC|lass.pro|
|00001250| 74 6f 74 79 70 65 2e 6d | 79 4f 6e 4b 69 6c 6c 46 |totype.m|yOnKillF|
|00001260| 6f 63 75 73 20 3d 20 66 | 75 6e 63 74 69 6f 6e 28 |ocus = f|unction(|
|00001270| 29 0a 7b 0a 09 74 68 69 | 73 2e 74 61 62 46 6f 63 |).{..thi|s.tabFoc|
|00001280| 75 73 65 64 20 3d 20 74 | 72 75 65 3b 0a 09 74 68 |used = t|rue;..th|
|00001290| 69 73 2e 66 6f 63 75 73 | 65 64 20 3d 66 61 6c 73 |is.focus|ed =fals|
|000012a0| 65 3b 0a 09 74 68 69 73 | 2e 66 6f 63 75 73 52 65 |e;..this|.focusRe|
|000012b0| 63 74 2e 72 65 6d 6f 76 | 65 4d 6f 76 69 65 43 6c |ct.remov|eMovieCl|
|000012c0| 69 70 28 29 3b 0a 09 4b | 65 79 2e 72 65 6d 6f 76 |ip();..K|ey.remov|
|000012d0| 65 4c 69 73 74 65 6e 65 | 72 28 74 68 69 73 2e 6b |eListene|r(this.k|
|000012e0| 65 79 4c 69 73 74 65 6e | 65 72 29 3b 0a 7d 0a 0a |eyListen|er);.}..|
|000012f0| 46 55 49 43 6f 6d 70 6f | 6e 65 6e 74 43 6c 61 73 |FUICompo|nentClas|
|00001300| 73 2e 70 72 6f 74 6f 74 | 79 70 65 2e 65 78 65 63 |s.protot|ype.exec|
|00001310| 75 74 65 43 61 6c 6c 42 | 61 63 6b 20 3d 20 66 75 |uteCallB|ack = fu|
|00001320| 6e 63 74 69 6f 6e 28 29 | 0a 7b 0a 09 74 68 69 73 |nction()|.{..this|
|00001330| 2e 68 61 6e 64 6c 65 72 | 4f 62 6a 5b 74 68 69 73 |.handler|Obj[this|
|00001340| 2e 63 68 61 6e 67 65 48 | 61 6e 64 6c 65 72 5d 28 |.changeH|andler](|
|00001350| 74 68 69 73 29 3b 0a 7d | 0a 0a 2f 2f 20 41 6e 20 |this);.}|..// An |
|00001360| 46 55 49 43 6f 6d 70 6f | 6e 65 6e 74 43 6c 61 73 |FUICompo|nentClas|
|00001370| 73 20 48 65 6c 70 65 72 | 20 66 6f 72 20 74 68 65 |s Helper| for the|
|00001380| 20 73 74 79 6c 65 46 6f | 72 6d 61 74 20 3a 20 0a | styleFo|rmat : .|
|00001390| 2f 2f 20 70 75 74 73 20 | 61 20 73 74 79 6c 65 46 |// puts |a styleF|
|000013a0| 6f 72 6d 61 74 20 76 61 | 6c 75 65 20 69 6e 74 6f |ormat va|lue into|
|000013b0| 20 74 68 65 20 63 6f 6d | 70 6f 6e 65 6e 74 27 73 | the com|ponent's|
|000013c0| 20 73 74 79 6c 65 54 61 | 62 6c 65 2c 0a 2f 2f 20 | styleTa|ble,.// |
|000013d0| 75 70 64 61 74 65 73 20 | 74 68 65 20 63 6f 6d 70 |updates |the comp|
|000013e0| 6f 6e 65 6e 74 20 28 74 | 68 65 20 63 6f 6c 6f 72 |onent (t|he color|
|000013f0| 65 64 4d 43 73 20 74 68 | 61 74 20 6d 61 6b 65 20 |edMCs th|at make |
|00001400| 75 70 20 61 20 73 6b 69 | 6e 29 0a 46 55 49 43 6f |up a ski|n).FUICo|
|00001410| 6d 70 6f 6e 65 6e 74 43 | 6c 61 73 73 2e 70 72 6f |mponentC|lass.pro|
|00001420| 74 6f 74 79 70 65 2e 75 | 70 64 61 74 65 53 74 79 |totype.u|pdateSty|
|00001430| 6c 65 50 72 6f 70 65 72 | 74 79 20 3d 20 66 75 6e |leProper|ty = fun|
|00001440| 63 74 69 6f 6e 28 73 74 | 79 6c 65 46 6f 72 6d 61 |ction(st|yleForma|
|00001450| 74 2c 20 70 72 6f 70 4e | 61 6d 65 29 0a 7b 0a 09 |t, propN|ame).{..|
|00001460| 74 68 69 73 2e 73 65 74 | 53 74 79 6c 65 50 72 6f |this.set|StylePro|
|00001470| 70 65 72 74 79 28 70 72 | 6f 70 4e 61 6d 65 2c 20 |perty(pr|opName, |
|00001480| 73 74 79 6c 65 46 6f 72 | 6d 61 74 5b 70 72 6f 70 |styleFor|mat[prop|
|00001490| 4e 61 6d 65 5d 2c 20 73 | 74 79 6c 65 46 6f 72 6d |Name], s|tyleForm|
|000014a0| 61 74 2e 69 73 47 6c 6f | 62 61 6c 29 3b 0a 7d 0a |at.isGlo|bal);.}.|
|000014b0| 0a 46 55 49 43 6f 6d 70 | 6f 6e 65 6e 74 43 6c 61 |.FUIComp|onentCla|
|000014c0| 73 73 2e 70 72 6f 74 6f | 74 79 70 65 2e 73 65 74 |ss.proto|type.set|
|000014d0| 53 74 79 6c 65 50 72 6f | 70 65 72 74 79 20 3d 20 |StylePro|perty = |
|000014e0| 66 75 6e 63 74 69 6f 6e | 28 70 72 6f 70 4e 61 6d |function|(propNam|
|000014f0| 65 2c 20 76 61 6c 75 65 | 2c 20 69 73 47 6c 6f 62 |e, value|, isGlob|
|00001500| 61 6c 29 0a 7b 0a 09 69 | 66 20 28 76 61 6c 75 65 |al).{..i|f (value|
|00001510| 3d 3d 22 22 29 20 72 65 | 74 75 72 6e 3b 0a 09 76 |=="") re|turn;..v|
|00001520| 61 72 20 74 6d 70 56 61 | 6c 75 65 20 3d 20 70 61 |ar tmpVa|lue = pa|
|00001530| 72 73 65 49 6e 74 28 76 | 61 6c 75 65 29 3b 0a 09 |rseInt(v|alue);..|
|00001540| 69 66 20 28 21 69 73 4e | 61 4e 28 74 6d 70 56 61 |if (!isN|aN(tmpVa|
|00001550| 6c 75 65 29 29 20 7b 0a | 09 09 76 61 6c 75 65 20 |lue)) {.|..value |
|00001560| 3d 20 74 6d 70 56 61 6c | 75 65 3b 0a 09 7d 0a 09 |= tmpVal|ue;..}..|
|00001570| 76 61 72 20 67 6c 6f 62 | 61 6c 20 3d 20 28 61 72 |var glob|al = (ar|
|00001580| 67 75 6d 65 6e 74 73 2e | 6c 65 6e 67 74 68 3e 32 |guments.|length>2|
|00001590| 29 20 3f 20 69 73 47 6c | 6f 62 61 6c 20 3a 20 66 |) ? isGl|obal : f|
|000015a0| 61 6c 73 65 3b 0a 09 09 | 0a 09 69 66 20 28 74 68 |alse;...|..if (th|
|000015b0| 69 73 2e 73 74 79 6c 65 | 54 61 62 6c 65 5b 70 72 |is.style|Table[pr|
|000015c0| 6f 70 4e 61 6d 65 5d 3d | 3d 75 6e 64 65 66 69 6e |opName]=|=undefin|
|000015d0| 65 64 29 20 7b 0a 09 09 | 74 68 69 73 2e 73 74 79 |ed) {...|this.sty|
|000015e0| 6c 65 54 61 62 6c 65 5b | 70 72 6f 70 4e 61 6d 65 |leTable[|propName|
|000015f0| 5d 20 3d 20 6e 65 77 20 | 4f 62 6a 65 63 74 28 29 |] = new |Object()|
|00001600| 3b 0a 09 09 74 68 69 73 | 2e 73 74 79 6c 65 54 61 |;...this|.styleTa|
|00001610| 62 6c 65 5b 70 72 6f 70 | 4e 61 6d 65 5d 2e 75 73 |ble[prop|Name].us|
|00001620| 65 47 6c 6f 62 61 6c 3d | 74 72 75 65 3b 0a 09 7d |eGlobal=|true;..}|
|00001630| 0a 09 69 66 20 28 74 68 | 69 73 2e 73 74 79 6c 65 |..if (th|is.style|
|00001640| 54 61 62 6c 65 5b 70 72 | 6f 70 4e 61 6d 65 5d 2e |Table[pr|opName].|
|00001650| 75 73 65 47 6c 6f 62 61 | 6c 20 7c 7c 20 21 67 6c |useGloba|l || !gl|
|00001660| 6f 62 61 6c 29 20 7b 0a | 0a 09 09 74 68 69 73 2e |obal) {.|...this.|
|00001670| 73 74 79 6c 65 54 61 62 | 6c 65 5b 70 72 6f 70 4e |styleTab|le[propN|
|00001680| 61 6d 65 5d 2e 76 61 6c | 75 65 20 3d 20 76 61 6c |ame].val|ue = val|
|00001690| 75 65 3b 0a 0a 09 09 69 | 66 20 28 74 68 69 73 2e |ue;....i|f (this.|
|000016a0| 73 65 74 43 75 73 74 6f | 6d 53 74 79 6c 65 50 72 |setCusto|mStylePr|
|000016b0| 6f 70 65 72 74 79 28 70 | 72 6f 70 4e 61 6d 65 2c |operty(p|ropName,|
|000016c0| 20 76 61 6c 75 65 29 29 | 20 7b 0a 09 09 09 2f 2f | value))| {....//|
|000016d0| 20 61 20 68 6f 6f 6b 20 | 66 6f 72 20 65 78 74 65 | a hook |for exte|
|000016e0| 6e 64 69 6e 67 20 66 75 | 72 74 68 65 72 20 73 74 |nding fu|rther st|
|000016f0| 79 6c 65 50 72 6f 70 65 | 72 74 79 20 72 65 61 63 |ylePrope|rty reac|
|00001700| 74 69 6f 6e 73 2e 0a 09 | 09 7d 20 65 6c 73 65 20 |tions...|.} else |
|00001710| 69 66 20 28 70 72 6f 70 | 4e 61 6d 65 20 3d 3d 20 |if (prop|Name == |
|00001720| 22 65 6d 62 65 64 46 6f | 6e 74 73 22 29 20 7b 0a |"embedFo|nts") {.|
|00001730| 09 09 09 74 68 69 73 2e | 69 6e 76 61 6c 69 64 61 |...this.|invalida|
|00001740| 74 65 28 22 73 65 74 53 | 69 7a 65 22 29 3b 0a 09 |te("setS|ize");..|
|00001750| 09 7d 20 0a 09 09 65 6c | 73 65 20 69 66 20 28 70 |.} ...el|se if (p|
|00001760| 72 6f 70 4e 61 6d 65 2e | 73 75 62 53 74 72 69 6e |ropName.|subStrin|
|00001770| 67 28 30 2c 34 29 3d 3d | 22 74 65 78 74 22 29 20 |g(0,4)==|"text") |
|00001780| 7b 0a 09 09 09 69 66 20 | 28 74 68 69 73 2e 74 65 |{....if |(this.te|
|00001790| 78 74 53 74 79 6c 65 3d | 3d 75 6e 64 65 66 69 6e |xtStyle=|=undefin|
|000017a0| 65 64 29 20 7b 0a 09 09 | 09 09 74 68 69 73 2e 74 |ed) {...|..this.t|
|000017b0| 65 78 74 53 74 79 6c 65 | 20 3d 20 6e 65 77 20 54 |extStyle| = new T|
|000017c0| 65 78 74 46 6f 72 6d 61 | 74 28 29 3b 0a 09 09 09 |extForma|t();....|
|000017d0| 7d 0a 09 09 09 76 61 72 | 20 74 65 78 74 50 72 6f |}....var| textPro|
|000017e0| 70 20 3d 20 70 72 6f 70 | 4e 61 6d 65 2e 73 75 62 |p = prop|Name.sub|
|000017f0| 53 74 72 69 6e 67 28 34 | 2c 20 70 72 6f 70 4e 61 |String(4|, propNa|
|00001800| 6d 65 2e 6c 65 6e 67 74 | 68 29 3b 0a 09 09 09 74 |me.lengt|h);....t|
|00001810| 68 69 73 2e 74 65 78 74 | 53 74 79 6c 65 5b 74 65 |his.text|Style[te|
|00001820| 78 74 50 72 6f 70 5d 20 | 3d 20 76 61 6c 75 65 3b |xtProp] |= value;|
|00001830| 0a 09 09 09 74 68 69 73 | 2e 69 6e 76 61 6c 69 64 |....this|.invalid|
|00001840| 61 74 65 28 22 73 65 74 | 53 69 7a 65 22 29 3b 0a |ate("set|Size");.|
|00001850| 09 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 09 66 6f |..} else| {....fo|
|00001860| 72 20 28 76 61 72 20 6a | 20 69 6e 20 74 68 69 73 |r (var j| in this|
|00001870| 2e 73 74 79 6c 65 54 61 | 62 6c 65 5b 70 72 6f 70 |.styleTa|ble[prop|
|00001880| 4e 61 6d 65 5d 2e 63 6f | 6c 6f 72 65 64 4d 43 73 |Name].co|loredMCs|
|00001890| 29 20 7b 0a 09 09 09 09 | 76 61 72 20 6d 79 43 6f |) {.....|var myCo|
|000018a0| 6c 6f 72 20 3d 20 6e 65 | 77 20 43 6f 6c 6f 72 28 |lor = ne|w Color(|
|000018b0| 74 68 69 73 2e 73 74 79 | 6c 65 54 61 62 6c 65 5b |this.sty|leTable[|
|000018c0| 70 72 6f 70 4e 61 6d 65 | 5d 2e 63 6f 6c 6f 72 65 |propName|].colore|
|000018d0| 64 4d 43 73 5b 6a 5d 29 | 3b 0a 09 09 09 09 69 66 |dMCs[j])|;.....if|
|000018e0| 20 28 74 68 69 73 2e 73 | 74 79 6c 65 54 61 62 6c | (this.s|tyleTabl|
|000018f0| 65 5b 70 72 6f 70 4e 61 | 6d 65 5d 2e 76 61 6c 75 |e[propNa|me].valu|
|00001900| 65 3d 3d 75 6e 64 65 66 | 69 6e 65 64 29 20 7b 0a |e==undef|ined) {.|
|00001910| 09 09 09 09 09 76 61 72 | 20 6d 79 54 4f 62 6a 20 |.....var| myTObj |
|00001920| 3d 20 7b 20 72 61 3a 20 | 27 31 30 30 27 2c 20 72 |= { ra: |'100', r|
|00001930| 62 3a 20 27 30 27 2c 20 | 67 61 3a 20 27 31 30 30 |b: '0', |ga: '100|
|00001940| 27 2c 20 67 62 3a 20 27 | 30 27 2c 20 62 61 3a 20 |', gb: '|0', ba: |
|00001950| 27 31 30 30 27 2c 20 62 | 62 3a 20 27 30 27 2c 20 |'100', b|b: '0', |
|00001960| 61 61 3a 20 27 31 30 30 | 27 2c 20 61 62 3a 20 27 |aa: '100|', ab: '|
|00001970| 30 27 7d 3b 0a 09 09 09 | 09 09 6d 79 43 6f 6c 6f |0'};....|..myColo|
|00001980| 72 2e 73 65 74 54 72 61 | 6e 73 66 6f 72 6d 28 6d |r.setTra|nsform(m|
|00001990| 79 54 4f 62 6a 29 3b 0a | 09 09 09 09 7d 20 65 6c |yTObj);.|....} el|
|000019a0| 73 65 20 7b 0a 09 09 09 | 09 09 6d 79 43 6f 6c 6f |se {....|..myColo|
|000019b0| 72 2e 73 65 74 52 47 42 | 28 76 61 6c 75 65 29 3b |r.setRGB|(value);|
|000019c0| 0a 09 09 09 09 7d 0a 09 | 09 09 7d 0a 09 09 7d 0a |.....}..|..}...}.|
|000019d0| 09 09 74 68 69 73 2e 73 | 74 79 6c 65 54 61 62 6c |..this.s|tyleTabl|
|000019e0| 65 5b 70 72 6f 70 4e 61 | 6d 65 5d 2e 75 73 65 47 |e[propNa|me].useG|
|000019f0| 6c 6f 62 61 6c 20 3d 20 | 67 6c 6f 62 61 6c 3b 09 |lobal = |global;.|
|00001a00| 0a 09 7d 0a 09 0a 0a 7d | 0a 0a 0a 2f 2a 20 41 6e |..}....}|.../* An|
|00001a10| 6f 74 68 65 72 20 73 74 | 79 6c 65 46 6f 72 6d 61 |other st|yleForma|
|00001a20| 74 20 68 65 6c 70 65 72 | 20 2d 2d 0a 2f 20 20 41 |t helper| --./ A|
|00001a30| 20 73 6b 69 6e 20 6d 63 | 20 63 61 6c 6c 73 20 75 | skin mc| calls u|
|00001a40| 70 20 74 6f 20 74 68 69 | 73 20 74 6f 20 72 65 67 |p to thi|s to reg|
|00001a50| 69 73 74 65 72 20 69 74 | 73 20 65 78 69 73 74 65 |ister it|s existe|
|00001a60| 6e 63 65 20 61 6e 64 20 | 74 68 65 0a 2f 20 20 73 |nce and |the./ s|
|00001a70| 74 79 6c 65 54 61 62 6c | 65 20 70 72 6f 70 65 72 |tyleTabl|e proper|
|00001a80| 74 79 20 69 74 20 77 61 | 6e 74 73 20 74 6f 20 6c |ty it wa|nts to l|
|00001a90| 69 73 74 65 6e 20 74 6f | 20 2a 2f 0a 46 55 49 43 |isten to| */.FUIC|
|00001aa0| 6f 6d 70 6f 6e 65 6e 74 | 43 6c 61 73 73 2e 70 72 |omponent|Class.pr|
|00001ab0| 6f 74 6f 74 79 70 65 2e | 72 65 67 69 73 74 65 72 |ototype.|register|
|00001ac0| 53 6b 69 6e 45 6c 65 6d | 65 6e 74 20 3d 20 66 75 |SkinElem|ent = fu|
|00001ad0| 6e 63 74 69 6f 6e 28 73 | 6b 69 6e 4d 43 52 65 66 |nction(s|kinMCRef|
|00001ae0| 2c 20 70 72 6f 70 4e 61 | 6d 65 29 0a 7b 0a 09 69 |, propNa|me).{..i|
|00001af0| 66 20 28 74 68 69 73 2e | 73 74 79 6c 65 54 61 62 |f (this.|styleTab|
|00001b00| 6c 65 5b 70 72 6f 70 4e | 61 6d 65 5d 3d 3d 75 6e |le[propN|ame]==un|
|00001b10| 64 65 66 69 6e 65 64 29 | 20 7b 0a 09 09 74 68 69 |defined)| {...thi|
|00001b20| 73 2e 73 74 79 6c 65 54 | 61 62 6c 65 5b 70 72 6f |s.styleT|able[pro|
|00001b30| 70 4e 61 6d 65 5d 20 3d | 20 6e 65 77 20 4f 62 6a |pName] =| new Obj|
|00001b40| 65 63 74 28 29 3b 0a 09 | 09 74 68 69 73 2e 73 74 |ect();..|.this.st|
|00001b50| 79 6c 65 54 61 62 6c 65 | 5b 70 72 6f 70 4e 61 6d |yleTable|[propNam|
|00001b60| 65 5d 2e 75 73 65 47 6c | 6f 62 61 6c 20 3d 20 74 |e].useGl|obal = t|
|00001b70| 72 75 65 3b 0a 09 7d 0a | 09 69 66 20 28 74 68 69 |rue;..}.|.if (thi|
|00001b80| 73 2e 73 74 79 6c 65 54 | 61 62 6c 65 5b 70 72 6f |s.styleT|able[pro|
|00001b90| 70 4e 61 6d 65 5d 2e 63 | 6f 6c 6f 72 65 64 4d 43 |pName].c|oloredMC|
|00001ba0| 73 3d 3d 75 6e 64 65 66 | 69 6e 65 64 29 20 7b 0a |s==undef|ined) {.|
|00001bb0| 09 09 74 68 69 73 2e 73 | 74 79 6c 65 54 61 62 6c |..this.s|tyleTabl|
|00001bc0| 65 5b 70 72 6f 70 4e 61 | 6d 65 5d 2e 63 6f 6c 6f |e[propNa|me].colo|
|00001bd0| 72 65 64 4d 43 73 20 3d | 20 6e 65 77 20 4f 62 6a |redMCs =| new Obj|
|00001be0| 65 63 74 28 29 3b 0a 09 | 7d 0a 09 74 68 69 73 2e |ect();..|}..this.|
|00001bf0| 73 74 79 6c 65 54 61 62 | 6c 65 5b 70 72 6f 70 4e |styleTab|le[propN|
|00001c00| 61 6d 65 5d 2e 63 6f 6c | 6f 72 65 64 4d 43 73 5b |ame].col|oredMCs[|
|00001c10| 73 6b 69 6e 4d 43 52 65 | 66 5d 3d 73 6b 69 6e 4d |skinMCRe|f]=skinM|
|00001c20| 43 52 65 66 3b 0a 09 69 | 66 20 28 74 68 69 73 2e |CRef;..i|f (this.|
|00001c30| 73 74 79 6c 65 54 61 62 | 6c 65 5b 70 72 6f 70 4e |styleTab|le[propN|
|00001c40| 61 6d 65 5d 2e 76 61 6c | 75 65 21 3d 75 6e 64 65 |ame].val|ue!=unde|
|00001c50| 66 69 6e 65 64 29 20 7b | 0a 09 09 76 61 72 20 6d |fined) {|...var m|
|00001c60| 79 43 6f 6c 6f 72 20 3d | 20 6e 65 77 20 43 6f 6c |yColor =| new Col|
|00001c70| 6f 72 28 73 6b 69 6e 4d | 43 52 65 66 29 3b 0a 09 |or(skinM|CRef);..|
|00001c80| 09 6d 79 43 6f 6c 6f 72 | 2e 73 65 74 52 47 42 28 |.myColor|.setRGB(|
|00001c90| 74 68 69 73 2e 73 74 79 | 6c 65 54 61 62 6c 65 5b |this.sty|leTable[|
|00001ca0| 70 72 6f 70 4e 61 6d 65 | 5d 2e 76 61 6c 75 65 29 |propName|].value)|
|00001cb0| 3b 0a 09 7d 0a 7d 0a 0a | 0a 0a 2f 2f 20 3d 3d 3d |;..}.}..|..// ===|
|00001cc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 20 20 73 74 79 6c 65 |========|= style|
|00001cd0| 46 6f 72 6d 61 74 20 43 | 6c 61 73 73 20 3d 3d 3d |Format C|lass ===|
|00001ce0| 3d 3d 3d 3d 3d 3d 3d 3d | 20 2f 2f 0a 0a 5f 67 6c |========| //.._gl|
|00001cf0| 6f 62 61 6c 2e 46 53 74 | 79 6c 65 46 6f 72 6d 61 |obal.FSt|yleForma|
|00001d00| 74 20 3d 20 66 75 6e 63 | 74 69 6f 6e 28 29 0a 7b |t = func|tion().{|
|00001d10| 0a 09 74 68 69 73 2e 6e | 6f 6e 53 74 79 6c 65 73 |..this.n|onStyles|
|00001d20| 20 3d 20 7b 6c 69 73 74 | 65 6e 65 72 73 3a 74 72 | = {list|eners:tr|
|00001d30| 75 65 2c 20 69 73 47 6c | 6f 62 61 6c 3a 74 72 75 |ue, isGl|obal:tru|
|00001d40| 65 2c 20 69 73 41 53 74 | 79 6c 65 3a 74 72 75 65 |e, isASt|yle:true|
|00001d50| 2c 20 61 64 64 4c 69 73 | 74 65 6e 65 72 3a 74 72 |, addLis|tener:tr|
|00001d60| 75 65 2c 0a 09 09 09 09 | 09 72 65 6d 6f 76 65 4c |ue,.....|.removeL|
|00001d70| 69 73 74 65 6e 65 72 3a | 74 72 75 65 2c 20 6e 6f |istener:|true, no|
|00001d80| 6e 53 74 79 6c 65 73 3a | 74 72 75 65 2c 20 61 70 |nStyles:|true, ap|
|00001d90| 70 6c 79 43 68 61 6e 67 | 65 73 3a 74 72 75 65 7d |plyChang|es:true}|
|00001da0| 3b 0a 09 74 68 69 73 2e | 6c 69 73 74 65 6e 65 72 |;..this.|listener|
|00001db0| 73 20 3d 20 6e 65 77 20 | 4f 62 6a 65 63 74 28 29 |s = new |Object()|
|00001dc0| 3b 0a 09 74 68 69 73 2e | 69 73 47 6c 6f 62 61 6c |;..this.|isGlobal|
|00001dd0| 20 3d 20 66 61 6c 73 65 | 3b 0a 09 69 66 20 28 61 | = false|;..if (a|
|00001de0| 72 67 75 6d 65 6e 74 73 | 2e 6c 65 6e 67 74 68 3e |rguments|.length>|
|00001df0| 30 29 20 7b 0a 09 09 66 | 6f 72 20 28 76 61 72 20 |0) {...f|or (var |
|00001e00| 69 20 69 6e 20 61 72 67 | 75 6d 65 6e 74 73 5b 30 |i in arg|uments[0|
|00001e10| 5d 29 20 7b 0a 09 09 09 | 74 68 69 73 5b 69 5d 20 |]) {....|this[i] |
|00001e20| 3d 20 61 72 67 75 6d 65 | 6e 74 73 5b 30 5d 5b 69 |= argume|nts[0][i|
|00001e30| 5d 3b 0a 09 09 7d 0a 09 | 7d 0a 7d 0a 0a 5f 67 6c |];...}..|}.}.._gl|
|00001e40| 6f 62 61 6c 2e 46 53 74 | 79 6c 65 46 6f 72 6d 61 |obal.FSt|yleForma|
|00001e50| 74 2e 70 72 6f 74 6f 74 | 79 70 65 20 3d 20 6e 65 |t.protot|ype = ne|
|00001e60| 77 20 4f 62 6a 65 63 74 | 28 29 3b 0a 0a 0a 2f 2f |w Object|();...//|
|00001e70| 20 3a 3a 3a 20 50 55 42 | 4c 49 43 20 46 53 74 79 | ::: PUB|LIC FSty|
|00001e80| 6c 65 46 6f 72 6d 61 74 | 20 4d 65 74 68 6f 64 73 |leFormat| Methods|
|00001e90| 0a 46 53 74 79 6c 65 46 | 6f 72 6d 61 74 2e 70 72 |.FStyleF|ormat.pr|
|00001ea0| 6f 74 6f 74 79 70 65 2e | 61 64 64 4c 69 73 74 65 |ototype.|addListe|
|00001eb0| 6e 65 72 20 3d 20 66 75 | 6e 63 74 69 6f 6e 28 29 |ner = fu|nction()|
|00001ec0| 0a 7b 0a 09 66 6f 72 20 | 28 76 61 72 20 61 72 67 |.{..for |(var arg|
|00001ed0| 3d 30 3b 20 61 72 67 3c | 61 72 67 75 6d 65 6e 74 |=0; arg<|argument|
|00001ee0| 73 2e 6c 65 6e 67 74 68 | 3b 20 61 72 67 2b 2b 29 |s.length|; arg++)|
|00001ef0| 20 7b 0a 09 09 76 61 72 | 20 6d 63 52 65 66 20 3d | {...var| mcRef =|
|00001f00| 20 61 72 67 75 6d 65 6e | 74 73 5b 61 72 67 5d 3b | argumen|ts[arg];|
|00001f10| 0a 09 09 74 68 69 73 2e | 6c 69 73 74 65 6e 65 72 |...this.|listener|
|00001f20| 73 5b 61 72 67 75 6d 65 | 6e 74 73 5b 61 72 67 5d |s[argume|nts[arg]|
|00001f30| 5d 20 3d 20 6d 63 52 65 | 66 3b 0a 09 09 66 6f 72 |] = mcRe|f;...for|
|00001f40| 20 28 76 61 72 20 69 20 | 69 6e 20 74 68 69 73 29 | (var i |in this)|
|00001f50| 20 7b 0a 09 09 09 69 66 | 20 28 74 68 69 73 2e 69 | {....if| (this.i|
|00001f60| 73 41 53 74 79 6c 65 28 | 69 29 29 20 7b 0a 09 09 |sAStyle(|i)) {...|
|00001f70| 09 09 6d 63 52 65 66 2e | 75 70 64 61 74 65 53 74 |..mcRef.|updateSt|
|00001f80| 79 6c 65 50 72 6f 70 65 | 72 74 79 28 74 68 69 73 |ylePrope|rty(this|
|00001f90| 2c 20 69 2e 74 6f 53 74 | 72 69 6e 67 28 29 29 3b |, i.toSt|ring());|
|00001fa0| 0a 09 09 09 7d 0a 09 09 | 7d 0a 09 7d 0a 7d 0a 0a |....}...|}..}.}..|
|00001fb0| 46 53 74 79 6c 65 46 6f | 72 6d 61 74 2e 70 72 6f |FStyleFo|rmat.pro|
|00001fc0| 74 6f 74 79 70 65 2e 72 | 65 6d 6f 76 65 4c 69 73 |totype.r|emoveLis|
|00001fd0| 74 65 6e 65 72 20 3d 20 | 66 75 6e 63 74 69 6f 6e |tener = |function|
|00001fe0| 28 63 6f 6d 70 6f 6e 65 | 6e 74 29 0a 7b 0a 09 74 |(compone|nt).{..t|
|00001ff0| 68 69 73 2e 6c 69 73 74 | 65 6e 65 72 73 5b 63 6f |his.list|eners[co|
|00002000| 6d 70 6f 6e 65 6e 74 5d | 20 3d 75 6e 64 65 66 69 |mponent]| =undefi|
|00002010| 6e 65 64 3b 09 0a 09 66 | 6f 72 20 28 76 61 72 20 |ned;...f|or (var |
|00002020| 70 72 6f 70 20 69 6e 20 | 74 68 69 73 29 20 7b 0a |prop in |this) {.|
|00002030| 09 09 69 66 20 28 74 68 | 69 73 2e 69 73 41 53 74 |..if (th|is.isASt|
|00002040| 79 6c 65 28 70 72 6f 70 | 29 29 20 7b 0a 09 09 09 |yle(prop|)) {....|
|00002050| 69 66 20 28 63 6f 6d 70 | 6f 6e 65 6e 74 2e 73 74 |if (comp|onent.st|
|00002060| 79 6c 65 54 61 62 6c 65 | 5b 70 72 6f 70 5d 2e 75 |yleTable|[prop].u|
|00002070| 73 65 47 6c 6f 62 61 6c | 3d 3d 74 68 69 73 2e 69 |seGlobal|==this.i|
|00002080| 73 47 6c 6f 62 61 6c 29 | 20 7b 0a 09 09 09 09 63 |sGlobal)| {.....c|
|00002090| 6f 6d 70 6f 6e 65 6e 74 | 2e 73 74 79 6c 65 54 61 |omponent|.styleTa|
|000020a0| 62 6c 65 5b 70 72 6f 70 | 5d 2e 75 73 65 47 6c 6f |ble[prop|].useGlo|
|000020b0| 62 61 6c 20 3d 20 74 72 | 75 65 3b 0a 09 09 09 09 |bal = tr|ue;.....|
|000020c0| 76 61 72 20 76 61 6c 75 | 65 20 3d 20 28 74 68 69 |var valu|e = (thi|
|000020d0| 73 2e 69 73 47 6c 6f 62 | 61 6c 29 20 3f 20 75 6e |s.isGlob|al) ? un|
|000020e0| 64 65 66 69 6e 65 64 20 | 3a 20 67 6c 6f 62 61 6c |defined |: global|
|000020f0| 53 74 79 6c 65 46 6f 72 | 6d 61 74 5b 70 72 6f 70 |StyleFor|mat[prop|
|00002100| 5d 3b 0a 09 09 09 09 63 | 6f 6d 70 6f 6e 65 6e 74 |];.....c|omponent|
|00002110| 2e 73 65 74 53 74 79 6c | 65 50 72 6f 70 65 72 74 |.setStyl|ePropert|
|00002120| 79 28 70 72 6f 70 2c 20 | 76 61 6c 75 65 2c 20 74 |y(prop, |value, t|
|00002130| 72 75 65 29 3b 0a 09 09 | 09 7d 0a 09 09 7d 0a 09 |rue);...|.}...}..|
|00002140| 7d 0a 7d 0a 0a 46 53 74 | 79 6c 65 46 6f 72 6d 61 |}.}..FSt|yleForma|
|00002150| 74 2e 70 72 6f 74 6f 74 | 79 70 65 2e 61 70 70 6c |t.protot|ype.appl|
|00002160| 79 43 68 61 6e 67 65 73 | 20 3d 20 66 75 6e 63 74 |yChanges| = funct|
|00002170| 69 6f 6e 28 29 0a 7b 0a | 09 76 61 72 20 63 6f 75 |ion().{.|.var cou|
|00002180| 6e 74 3d 30 3b 0a 09 66 | 6f 72 20 28 76 61 72 20 |nt=0;..f|or (var |
|00002190| 69 20 69 6e 20 74 68 69 | 73 2e 6c 69 73 74 65 6e |i in thi|s.listen|
|000021a0| 65 72 73 29 20 7b 0a 09 | 09 76 61 72 20 63 6f 6d |ers) {..|.var com|
|000021b0| 70 6f 6e 65 6e 74 20 3d | 20 74 68 69 73 2e 6c 69 |ponent =| this.li|
|000021c0| 73 74 65 6e 65 72 73 5b | 69 5d 3b 0a 09 09 69 66 |steners[|i];...if|
|000021d0| 20 28 61 72 67 75 6d 65 | 6e 74 73 2e 6c 65 6e 67 | (argume|nts.leng|
|000021e0| 74 68 3e 30 29 20 7b 0a | 09 09 09 66 6f 72 20 28 |th>0) {.|...for (|
|000021f0| 76 61 72 20 6a 3d 30 3b | 20 6a 3c 61 72 67 75 6d |var j=0;| j<argum|
|00002200| 65 6e 74 73 2e 6c 65 6e | 67 74 68 3b 20 6a 2b 2b |ents.len|gth; j++|
|00002210| 29 20 7b 0a 09 09 09 09 | 69 66 20 28 74 68 69 73 |) {.....|if (this|
|00002220| 2e 69 73 41 53 74 79 6c | 65 28 61 72 67 75 6d 65 |.isAStyl|e(argume|
|00002230| 6e 74 73 5b 6a 5d 29 29 | 20 7b 0a 09 09 09 09 09 |nts[j]))| {......|
|00002240| 63 6f 6d 70 6f 6e 65 6e | 74 2e 75 70 64 61 74 65 |componen|t.update|
|00002250| 53 74 79 6c 65 50 72 6f | 70 65 72 74 79 28 74 68 |StylePro|perty(th|
|00002260| 69 73 2c 20 61 72 67 75 | 6d 65 6e 74 73 5b 6a 5d |is, argu|ments[j]|
|00002270| 29 3b 0a 09 09 09 09 7d | 0a 09 09 09 7d 0a 09 09 |);.....}|....}...|
|00002280| 7d 20 65 6c 73 65 20 7b | 0a 09 09 09 66 6f 72 20 |} else {|....for |
|00002290| 28 76 61 72 20 6a 20 69 | 6e 20 74 68 69 73 29 20 |(var j i|n this) |
|000022a0| 7b 0a 09 09 09 09 69 66 | 20 28 74 68 69 73 2e 69 |{.....if| (this.i|
|000022b0| 73 41 53 74 79 6c 65 28 | 6a 29 29 20 7b 0a 09 09 |sAStyle(|j)) {...|
|000022c0| 09 09 09 63 6f 6d 70 6f | 6e 65 6e 74 2e 75 70 64 |...compo|nent.upd|
|000022d0| 61 74 65 53 74 79 6c 65 | 50 72 6f 70 65 72 74 79 |ateStyle|Property|
|000022e0| 28 74 68 69 73 2c 20 6a | 2e 74 6f 53 74 72 69 6e |(this, j|.toStrin|
|000022f0| 67 28 29 29 3b 0a 09 09 | 09 09 7d 0a 09 09 09 7d |g());...|..}....}|
|00002300| 0a 09 09 7d 0a 09 7d 0a | 7d 0a 0a 0a 2f 2f 20 3a |...}..}.|}...// :|
|00002310| 3a 3a 20 50 52 49 56 41 | 54 45 20 46 53 74 79 6c |:: PRIVA|TE FStyl|
|00002320| 65 46 6f 72 6d 61 74 20 | 4d 65 74 68 6f 64 73 0a |eFormat |Methods.|
|00002330| 0a 46 53 74 79 6c 65 46 | 6f 72 6d 61 74 2e 70 72 |.FStyleF|ormat.pr|
|00002340| 6f 74 6f 74 79 70 65 2e | 69 73 41 53 74 79 6c 65 |ototype.|isAStyle|
|00002350| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 6e 61 6d 65 | = funct|ion(name|
|00002360| 29 0a 7b 0a 09 72 65 74 | 75 72 6e 20 28 74 68 69 |).{..ret|urn (thi|
|00002370| 73 2e 6e 6f 6e 53 74 79 | 6c 65 73 5b 6e 61 6d 65 |s.nonSty|les[name|
|00002380| 5d 29 20 3f 20 66 61 6c | 73 65 20 3a 20 74 72 75 |]) ? fal|se : tru|
|00002390| 65 3b 0a 7d 0a 0a 0a 0a | 23 65 6e 64 69 6e 69 74 |e;.}....|#endinit|
|000023a0| 63 6c 69 70 0a 00 00 00 | 00 00 00 00 00 00 00 00 |clip....|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 80 |........|........|
|000023d0| 0a 0e 41 63 74 69 6f 6e | 73 3a 20 43 6c 61 73 73 |..Action|s: Class|
|000023e0| 01 01 01 ff ff ff ff 4f | 80 ff ff 00 00 00 00 01 |.......O|........|
|000023f0| 00 00 00 00 00 00 01 00 | 00 00 00 00 00 80 00 00 |........|........|
|00002400| 00 80 03 03 00 00 00 00 | 00 |........|. |
+--------+-------------------------+-------------------------+--------+--------+